.root {
    --link-height: 38px;
    --indicator-size: 10px;
    --indicator-offset: calc((var(--link-height) - var(--indicator-size)) / 2);
    position: relative;
  }
  
  .link {
    display: block;
    text-decoration: none;
    color: var(--mantine-color-text);
    line-height: var(--link-height);
    font-size: var(--mantine-font-size-sm);
    height: var(--link-height);
    border-top-right-radius: var(--mantine-radius-sm);
    border-bottom-right-radius: var(--mantine-radius-sm);
    border-left: 2px solid light-dark(var(--mantine-color-gray-2), var(--mantine-color-dark-4));
  
    @mixin hover {
      background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-6));
    }
  }
  
  .linkActive {
    font-weight: 500;
    color: light-dark(var(--mantine-color-blue-7), var(--mantine-color-blue-4));
  }
  
  .indicator {
    transition: transform 150ms ease;
    border: 2px solid light-dark(var(--mantine-color-blue-7), var(--mantine-color-blue-4));
    background-color: light-dark(var(--mantine-color-white), var(--mantine-color-dark-7));
    height: var(--indicator-size);
    width: var(--indicator-size);
    border-radius: var(--indicator-size);
    position: absolute;
    left: calc(var(--indicator-size) / -2 + 1px);
  }